<template>
  <view class="success-page" style="background: #ffffff; min-height: 100vh;">
    <!-- 标题 -->
    <view style="padding: 10px 20px;text-align: center;">
      <text style="font-size: 18px; font-weight: bold;">企业入驻</text>
    </view>

   
    <!-- 主要内容 -->
    <view style="padding: 60px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center;">
      <!-- 成功图标 -->
      <view style="width: 80px; height: 80px; background-color: #1a73e8; border-radius: 50%; display: flex; justify-content: center; align-items: center; margin-bottom: 25px;">
        <text style="color: #fff; font-size: 36px;">✓</text>
      </view>
      
      <!-- 成功标题 -->
      <text style="font-size: 22px; font-weight: bold; color: #333; margin-bottom: 15px; text-align: center;">提交成功，等待审核</text>
      
      <!-- 提示信息 -->
      <text style="font-size: 14px; color: #666; text-align: center; margin-bottom: 40px;">预计2小时内出审核结果<br/>请您耐心等待</text>
      
      <!-- 按钮组 -->
      <view style="width: 100%; max-width: 300px;">
        <!-- 返回首页按钮 -->
        <view 
          style="background-color: #1a73e8; border-radius: 8px; padding: 16px; text-align: center; margin-bottom: 15px;"
          @click="goToHome">
          <text style="color: #fff; font-size: 16px; font-weight: bold;">返回首页</text>
        </view>
        
        <!-- 完成按钮 -->
        <view 
          style="border: 1px solid #1a73e8; border-radius: 8px; padding: 16px; text-align: center;"
          @click="complete">
          <text style="color: #1a73e8; font-size: 16px; font-weight: bold;">完成</text>
        </view>
      </view>
    </view>
  </view>
</template>

<!-- 不知道返回哪里都返回的首页 -->
<script>
export default {
  methods: {
    goToHome() {
      uni.reLaunch({
        url: '/pages/b/manager/04/personal_center'
      })
    },
    complete() {
      uni.reLaunch({
        url: '/pages/b/manager/04/personal_center'
      })
    }
  }
}

</script>

<style>
.success-page {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 
              Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
</style>